package com.onelap.bls.tc2.ble;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class BleBroadcastReceiver extends BroadcastReceiver {

    private BleCallback bleCallback;

    public BleBroadcastReceiver(BleCallback bleCallback) {
        this.bleCallback = bleCallback;
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        if (bleCallback != null)
            bleCallback.bleServiceOnReceive(context, intent);
    }
}
